<%@page import="com.mmy.domain.scenic.TScenicOrder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>

<title>打印退款</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<div id="menu-back">
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>打印退款</h2>			
		</div>
	</header>
	<section class="container">
	<nav class="breadcrumb" >
					<a href="toscenicallorderindex" >全部</a> |
				<a href="toscenicunusedorderindex" >未入园</a> |
					<a href="toscenicrecentlyuseorderindex" >近期待用</a> |
						<a href="toscenicusedorderindex" >已入园</a> 
				<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3>
				
					</nav>
			<div class="information">
				<form >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>景区订单退款打印
						</h4>
				<div class="input-container">
				<table class="info-table" >
				
				<tr>
					<th>收据号</th>
					<td colspan="3">
						<input type="hidden" name="ID"  value="${dbScenicOrder.getID()}" >
						<label>${dbScenicOrder.getVoucher()}</label>
					</td>
					
				</tr>
				
				<tr>
					<th>订单人姓名</th>
					<td>
						 <label>${dbScenicOrder.getOrderName()}</label>
					</td>
					<th>订单联系方式</th>
					<td>
						
						 <label>${dbScenicOrder.getOrderTel()}</label>
					</td>
					
				</tr>
				
				<tr>
					<th>总额</th>
					<td>
					 <label>${dbScenicOrder.getOrderAmount()}</label>
					</td>
					<th>应收款</th>
					<td>
					 <label>${dbScenicOrder.getReceivable()}</label>
					</td>
					
				</tr>
				<tr>
					
					<th>实收款</th>
					<td>
						<label>${dbScenicOrder.getReceipt()}</label>
					</td>
					<th>付款类型</th>
					  <td>
					<c:choose>
						     <c:when test="${dbScenicOrder.getPayType() == 0}">
						           <label>现金</label>
						     </c:when>
						     <c:when test="${dbScenicOrder.getPayType() == 1}">
						            <label>微信</label>
						     </c:when>
						     <c:when test="${dbScenicOrder.getPayType() == 2}">
						            <label>支付宝</label>
						     </c:when>
						    <c:otherwise>
						          <label>银联卡</label>
						    </c:otherwise>
					</c:choose>
				</td>
				</tr>
				<tr>
				<th><label for="RefundProcess">是否允许退单</label></th>
					<td >
					<c:choose>
						     <c:when test="${dbScenicOrder.getRefundProcess() == 2}">
						           <label>允许退款</label>
						     </c:when>
						    <c:otherwise>
						            <label>不允许退款</label>
						    </c:otherwise>
					</c:choose>
					
					
				<th>退款金额</th>
					<td >
						<label>${dbScenicOrder.getRefund()}</label>
					</td>
					</tr>
				</table>
				<center>
				<input type="submit" class="btn" value="打印" />
				<input type="button" class="btn" value="确认" onclick="location.href='/mmy/toscenicunusedorderindex'"/>
				</center> 
				
							
							
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
			</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
		
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>